package com.easy.easy.Service;

import com.easy.easy.bean.Useraddress;
import org.apache.ibatis.annotations.Param;
import org.apache.tomcat.jni.Address;

import java.util.List;

public interface IAddressService {
    int add(Useraddress address);
    int edit(Useraddress address);
    int delete(int id);
    Useraddress getAddressByID(int id);
    List<Useraddress> getAddressByUserID( int userid);
    int cancelDefault( int id);
    int setDefault(int userid, int id);
}
